gdk/win32/gdkdevice-virtual.c: Don't Use Deprecated APIs
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 30 Jul 2013 03:11:16 +0000 (11:11 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 14 Aug 2013 00:04:50 +0000 (08:04 +0800)
...this was split into two commits as this source file has different
line endings (for some reason) from the other GDK-Win32 source files that
were updated in the quest to refrain from using deprecated APIs

gdk/win32/gdkdevice-virtual.c

index 028a8f5c51705c09079b7ed2cd58f7010a4cb075..8a77ebf501973c8d7bda84b672f646bb917a9cf7 100644 (file)
@@ -180,7 +180,7 @@ gdk_device_virtual_set_window_cursor (GdkDevice *device,
   if (hcursor != NULL)\r
     {\r
       /* If the pointer is over our window, set new cursor */\r
-      GdkWindow *curr_window = gdk_window_get_pointer (window, NULL, NULL, NULL);\r
+      GdkWindow *curr_window = gdk_window_get_device_position (window, device, NULL, NULL, NULL);
 \r
       if (curr_window == window ||\r
           (curr_window && window == gdk_window_get_toplevel (curr_window)))\r